import java.util.List;

class TreeData {
    private String content;
    private List<TreeData> children;

    public String getContent() {
        return content;
    }

    public List<TreeData> getChildren() {
        return children;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setChildren(List<TreeData> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "TreeData{" +
                "content='" + content + '\'' +
                ", children=" + children +
                '}';
    }
}
